package de.gameduell.net.src.communication {
	import flash.events.IEventDispatcher;
	
	import de.gameduell.framework.application.Settings;
	import de.gameduell.net.src.message.IMessage;	

	public interface ICommunication extends IEventDispatcher {
		function init(settings:Settings, aTicket:String):void;
		function connect():void;
		function terminate():void;
		function send(requestType:String,parameters:Array):IMessage;
		function get version():String;
		function getMessageQueue():MessageQueue;
		function localSend(method:String, aMessage:String, channel:String = null):void;
	}
}